package com.wksc.framework.impexp.bean;

import java.io.Serializable;

/**
 * 报表格式表头
 */
public class ExcelHeader extends Header implements Serializable{

	/**
	 * 内容
	 */
	protected String content;

	/**
	 * 行索引
	 */
	protected int rowIndex;

	/**
	 * 列索引
	 */
	protected int colInex;

	/**
	 * 跨行数
	 */
	protected int rowSpan;

	/**
	 * 跨列数
	 */
	protected int colSpan;

	public ExcelHeader(String content, int rowIndex, int colInex, int rowSpan,
			int colSpan) {
		super(content);
		this.content = content;
		this.rowIndex = rowIndex;
		this.colInex = colInex;
		this.rowSpan = rowSpan;
		this.colSpan = colSpan;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getRowIndex() {
		return rowIndex;
	}

	public void setRowIndex(int rowIndex) {
		this.rowIndex = rowIndex;
	}

	public int getColInex() {
		return colInex;
	}

	public void setColInex(int colInex) {
		this.colInex = colInex;
	}

	public int getRowSpan() {
		return rowSpan;
	}

	public void setRowSpan(int rowSpan) {
		this.rowSpan = rowSpan;
	}

	public int getColSpan() {
		return colSpan;
	}

	public void setColSpan(int colSpan) {
		this.colSpan = colSpan;
	}

	@Override
	public String toString() {
		return "内容=" + content + ",第" + rowIndex + "行,第" + colInex + "列" + ",跨"
				+ rowSpan + "行,跨" + colSpan + "列";
	}

}
